package net.maku.project.query;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import net.maku.framework.common.query.Query;
import net.maku.framework.common.utils.DateUtils;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
* 项目信息查询
*
* @author lvpb lv941226@gmail.com
* @since 1.0.0 2024-07-08
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Schema(description = "项目信息查询")
public class InfoQuery extends Query {

    @Schema(description = "项目编码")
    private String projectCode;

    @Schema(description = "项目名称")
    private String projectName;

    @Schema(description = "项目投资方名称")
    private String investorName;

    @Schema(description = "项目联系人及联系方式")
    private String contactInfo;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = DateUtils.DATE_TIME_PATTERN)
    private LocalDateTime[] createTime;

}